﻿namespace EyeOpen.SilverlightDto.Service
{
	using System;
	using System.Collections.Generic;

	public class CustomerRepository
	{
		public IEnumerable<Customer> GetAll()
		{
			var laCity = new City { Id = new Guid("2363599d-e653-40fd-9ffb-8cab53758268"), Name = "Los Angeles" };
			var nyCity = new City { Id = new Guid("63e48c24-fb38-4324-b342-df51d66146a6"), Name = "New York" };

			yield return new Customer { Id = new Guid("39c14727-aa59-46d3-bec1-15fafedc906b"), FirstName = "Steve", Age = 50, City = laCity };
			yield return new Customer { Id = new Guid("5b446dd0-5d2f-4d05-a28c-1967f3b038e1"), FirstName = "Bill", Age = 30, City = nyCity };
		}
	}
}